﻿<navigation:Page x:Class="SGTLightAccent.Views.Barcos" 
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
           xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
           mc:Ignorable="d"
           xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation"
           d:DesignWidth="640" d:DesignHeight="480"
           Title="Barcos Page"
           xmlns:local="clr-namespace:SGTLightAccent.LoginUI"
           DataContext="{Binding Main, Source={StaticResource Locator}}" xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk">
    
    <Grid x:Name="LayoutRoot">
        <Grid.RowDefinitions>
            <RowDefinition Height="80*" />
            <RowDefinition Height="400*" />
        </Grid.RowDefinitions>
        <sdk:DataGrid AutoGenerateColumns="false" HorizontalAlignment="Left" ItemsSource="{Binding Path=Usuarios}" Margin="10,10,0,19" Width="300">
            <sdk:DataGrid.Columns>
                <sdk:DataGridTextColumn Binding="{Binding Path=Id}" CanUserReorder="True" CanUserResize="True" CanUserSort="True" Header="Id" Width="Auto" />
                <sdk:DataGridTextColumn Binding="{Binding Path=Nombre}" CanUserReorder="True" CanUserResize="True" CanUserSort="True" Header="Nombre" Width="Auto" />
                <sdk:DataGridTextColumn Binding="{Binding Path=Apellido*}" CanUserReorder="True" CanUserResize="True" CanUserSort="True" Header="Apellido" Width="180*" />
            </sdk:DataGrid.Columns>
        </sdk:DataGrid>
        <Button Content="Cargar" Height="35" HorizontalAlignment="Left" Margin="553,12,0,0" Name="button1" VerticalAlignment="Top" Width="75" Command="{Binding Path=BotonUsuarios}" />
       
    </Grid>
</navigation:Page>
